package com.olddriver.crm.service;

import com.olddriver.crm.domain.Dictionary;
import com.olddriver.crm.page.PageResult;
import com.olddriver.crm.query.QueryObject;

import java.util.List;

public interface IDictionaryService {
    List<Dictionary> queryMenu();

    PageResult queryWords(QueryObject qo, Long id);

    void update(Dictionary dictionary);

    void insert(Dictionary dictionary);

    void deleteWord(Long id);

    void deleteMenu(Long id);

    List<Dictionary> getWords(String sn);
}
